package com.gxj.doubao.utils;

import org.springframework.util.StringUtils;

import java.io.Serializable;

public class WSSsdrAddress implements Serializable {

    private String province;

    private String city;

    private String county;

    private String address;

    public WSSsdrAddress() {
    }

    public WSSsdrAddress(String province, String city, String county, String address) {
//        if (StringUtils.isEmpty(province) ||
//                StringUtils.isEmpty(city) ||
//                StringUtils.isEmpty(county) ||
//                StringUtils.isEmpty(address)) {
//            throw new RuntimeException("客户联系地址出错");
//        }
        this.province = province;
        this.city = city;
        this.county = county;
        this.address = address;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
